class_name Entity_AdditionalEffect_AddBuff
extends Entity_AdditionalEffect

#region 属性
@export var buff_ids:Array[String]
#endregion
#region 字段
#endregion
#region 信号
#endregion

#region 基类方法
func add_effect(provider,target):
	var buff_component:BuffComponent = target.get_component_by_name("BuffComponent")
	if buff_component:
		buff_component = buff_component as BuffComponent
		for id in buff_ids:
			buff_component.add_buff_by_id(id,provider)
func remove_effect(provider,target):
	pass
#endregion
#region 公共方法
#endregion
#region 私有方法
#endregion
#region 生命周期函数
#endregion

